package com.iemes.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

import java.io.Serializable;
import java.util.Arrays;

/**
 * @Classname OrderExcelModel
 * @Description 订单导出数据及二维码模板
 * @Date 2022/4/19 15:31
 * @Created by You
 */
@ExcelTarget(value = "slaughterDataModel")
public class OrderExcelModel implements Serializable {

    public OrderExcelModel() {
    }


//    @Excel(name = "订单id", height = 30, width = 25)
//    private Integer ofid;

    @Excel(name = "订单编号", height = 30, width = 25)
    private String ofcode;

    @Excel(name = "二维码", type = 2, width = 15, height = 30, imageType = 2)
    private byte[] qrCode;

    @Excel(name = "成品名称", height = 30, width = 25)
    private String stockid;

    @Excel(name = "订单数量", height = 30, width = 25)
    private String num;

    @Excel(name = "编制人", height = 30, width = 25)
    private String empName;

    @Excel(name = "状态", height = 30, width = 25)
    private String billStatusName;



//    public Integer getOfid() {
//        return ofid;
//    }
//
//    public void setOfid(Integer ofid) {
//        this.ofid = ofid;
//    }

    public String getOfcode() {
        return ofcode;
    }

    public void setOfcode(String ofcode) {
        this.ofcode = ofcode;
    }

    public byte[] getQrCode() {
        return qrCode;
    }

    public void setQrCode(byte[] qrCode) {
        this.qrCode = qrCode;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getBillStatusName() {
        return billStatusName;
    }

    public void setBillStatusName(String billStatusName) {
        this.billStatusName = billStatusName;
    }

    public String getStockid() {
        return stockid;
    }

    public void setStockid(String stockid) {
        this.stockid = stockid;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "OrderExcelModel{" +
//                "ofid=" + ofid +
                ", ofcode='" + ofcode + '\'' +
                ", qrCode=" + Arrays.toString(qrCode) +
                ", empName=" + empName +
                ", billStatusName=" + billStatusName +
                ", stockid='" + stockid + '\'' +
                ", num=" + num +
                '}';
    }
}
